package com.wilson.integration.lease.app.service;

import com.wilson.integration.lease.common.entity.ApartmentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wilson.integration.lease.common.entity.vo.apartment.ApartmentDetailVO;
import com.wilson.integration.lease.common.entity.vo.apartment.ApartmentItemVO;

/**
 * @author wilson
 * @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
 * @createDate 2023-07-26 11:12:39
 */
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    /**
     * 查询公寓信息
     *
     * @param apartmentId
     * @return
     */
    ApartmentItemVO selectApartmentItemVOById(Long apartmentId);

    /**
     * 根据id获取公寓信息
     *
     * @param id
     * @return
     */
    ApartmentDetailVO getApartmentDetailById(Long id);

}
